<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="../include.jsp" %>

<!DOCTYPE html>
<html>
<head>
<script src="../static/js/list.js?1"></script> <!-- 分页查询页通用js -->
<script type="text/javascript">
    function check() {
        var excel_file = $("#excel_file").val();
        if (excel_file == "" || excel_file.length == 0) {
            alert("请选择文件路径！");
            return false;
        } else {
            return true;
        }
    }
</script>
</head>
<body id="z_body">
	<div class="panel">
		<div class="panel-heading">
			<i class="icon icon-list"></i> 处置力量组管理
		</div>
		<div class="panel-body">
			<!-- query form -->
			<form id="form1" class="app_queryForm">
				<div class="form-group">
					<label>关键字</label>
					<input class="form-control" name="keyword" placeholder="组名称或页名称"/>
				</div>
				<!-- buttons -->
				<div style="width:75%; text-align:right;">
					<a class="btn btn-primary" id="btn_query" onclick="getPage()"><i class="icon icon-search"></i> 查询</a>
					<a class="btn btn-primary" href="form"><i class="icon icon-plus"></i> 新增</a>
					<!--<a class="btn btn-primary" href="downLoadFile"> 下载模板</a>-->
				</div>
			</form>
			<!--<form style="width:25%; float:right;"action="batchImport" method="post" enctype="multipart/form-data" onsubmit="return check();">
				<input style="float:right;" class="btn btn-primary"   id="excel_file" type="file" name="file" accept="xls"size="80" /> 
				<input class="btn btn-primary" id="excel_button" type="submit" value="导入模板" />
			</form>-->
		</div>
	</div>
	
	<!-- pager -->
	<ul id="pn_pager" class="pager" style="display:none; margin:-7px 0 5px 0; float:right;">
		<li id="pn_first" class="previous"><a>首页</a></li>
		<li id="pn_prev"><a>上一页</a></li>
		<li id="pn_next"><a>下一页</a></li>
		<li id="pn_last" class="next"><a>尾页</a></li>
	</ul>
	<span id="pn_text" style="float:right; padding-right:1em;">&nbsp;</span>
	
	<!-- data table -->
	<table class="table table-striped table-hover table-bordered">
		<thead>
			<tr>
				<th>创建时间</th>
				<th>组编号</th>
				<th>组名称</th>
				<th>页名称</th>
				<th></th>
			</tr>
		</thead>
		<tbody id="list"></tbody>
	</table>
	
	
<script type="text/javascript">
	var formId = "form1", getPageUrl = "getPage", deleteUrl = "delete";
	
	$(function() {
		getPage();
	});
</script>

</body>
</html>